remus: libcheckpoint - initialize unused callback fields to NULL
authorShriram Rajagopalan <rshriram@cs.ubc.ca>
Mon, 20 Feb 2012 18:34:14 +0000 (18:34 +0000)
committerShriram Rajagopalan <rshriram@cs.ubc.ca>
Mon, 20 Feb 2012 18:34:14 +0000 (18:34 +0000)
commit3b2127db86eeddbec9dd201494d693c77ae1317f
tree8de0dfe26c44c2517bd40b1195465dff42ce23f0
parent8ae741f167efaa6d7567af1c6358f2f2467d6058
remus: libcheckpoint - initialize unused callback fields to NULL

Add a memset to the save_callbacks struct instance in libcheckpoint's
initialization code. New additions to the callback struct will not
need to add an explicit initialization (to NULL), to maintain
compatibility with older xend/remus based invocation of xc_domain_save.

Signed-off-by: Shriram Rajagopalan <rshriram@cs.ubc.ca>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/python/xen/lowlevel/checkpoint/checkpoint.c